import pickle

shop_list = ['eggs', 'apple', 'peach']
# with open('/tmp/shop.data', 'wb') as fobj:
#     pickle.dump(shop_list, fobj)
# with open('/tmp/shop2.data', 'w') as fw:
#     fw.write(str(shop_list)+'\n')

with open('/tmp/shop.data', 'rb') as fobj:
    mylist = pickle.load(fobj)

print(mylist[0], mylist[1], mylist[2])
